﻿using System.Collections.Generic;
using Yun.Interface;
using Yun.Marketing.Response;

namespace Yun.Marketing.Request
{
    /// <summary>
    /// 获取用户红包概要信息
    /// yun.game.redpackets.user.summary.get
    /// </summary>
    public class GetUserRedEnvelopeSummaryRequest: ITopRequest<GetUserRedEnvelopeSummaryResponse>
    {
        public int UserId { get; set; }

        public string GetApiName()
        {
            return "yun.game.redpackets.user.summary.get";
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"userid", UserId},
            };
            return parameters;
        }

        public void Validate()
        {
        }
    }
}
